package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_great_trade_event", autoSave = true,uploadCk = true,desc = "大商途-事件日志")
public class LogGreatTradeEvent extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "用户ID",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "区域：0：随机事件，其他1-4，1 医馆|2 酒楼|3 御街|4 黑市")
    private int areaId;
    @FieldTypeAnnotation(desc = "事件ID")
    private int eventIt;
    @FieldTypeAnnotation(desc = "操作")
    private int opt;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "消耗")
    private String consume;
    @FieldTypeAnnotation(desc = "变更后属性")
    private String afterVal;
    @FieldTypeAnnotation(desc = "年龄")
    private int age;
    @FieldTypeAnnotation(desc = "开局场次")
    private int times;

    public LogGreatTradeEvent(long userId, int activityId, int areaId, int eventIt, int opt, String reward, String consume, String afterVal, int age, int times) {
        this.userId = userId;
        this.activityId = activityId;
        this.areaId = areaId;
        this.eventIt = eventIt;
        this.opt = opt;
        this.reward = reward;
        this.consume = consume;
        this.afterVal = afterVal;
        this.age = age;
        this.times = times;

    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getAreaId() {
        return areaId;
    }

    public void setAreaId(int areaId) {
        this.areaId = areaId;
    }

    public int getEventIt() {
        return eventIt;
    }

    public void setEventIt(int eventIt) {
        this.eventIt = eventIt;
    }

    public int getOpt() {
        return opt;
    }

    public void setOpt(int opt) {
        this.opt = opt;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public String getConsume() {
        return consume;
    }

    public void setConsume(String consume) {
        this.consume = consume;
    }

    public String getAfterVal() {
        return afterVal;
    }

    public void setAfterVal(String afterVal) {
        this.afterVal = afterVal;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

}
